//
//  UIView+TY.h
//  iDouKou
//
//  Created by 唐胤 on 16/2/19.
//  Copyright © 2016年 iDouKou. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (TY)

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;

@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
+(instancetype)viewFromXib;
@end
